#!/bin/bash
set -euo pipefail
BaseDir=$(cd "$(dirname "$0")"; pwd)
cd ${BaseDir}

# https://github.com/larsyencken/csvdiff/tree/master
pip3 show csvdiff || pip3 install csvdiff

"${USERPROFILE}\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\Scripts\csvdiff.exe" --style=pretty --output=diff.json id a.csv b.csv

echo "done"
